package com.pubinfo.passbook.common.service.contract.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TContractPaymentHeader;
import com.pubinfo.passbook.common.mapper.TContractPaymentHeaderMapper;
import com.pubinfo.passbook.common.model.vo.contract.ContractPaymentListVo;
import com.pubinfo.passbook.common.service.contract.TContractPaymentHeaderService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author catho
 * @description 针对表【t_contract_payment_header】的数据库操作Service实现
 * @createDate 2021-12-07 08:51:28
 */
@Service
public class TContractPaymentHeaderServiceImpl extends ServiceImpl<TContractPaymentHeaderMapper, TContractPaymentHeader> implements TContractPaymentHeaderService {

    @Override
    public List<TContractPaymentHeader> selectBillList() {
        return null;
    }

    /**
     * 合同已收款明细
     */
    @Override
    public List<ContractPaymentListVo> getPaymentItems(Integer contractId) {
        return this.baseMapper.getPaymentItems(contractId);
    }
}
